local upvalue = nil
local hander = function ()
    return upvalue
end

---@class enumerate @枚举方法
local this = setmetatable({}, {
    __index = function (_, k)
        upvalue = k
        return hander
    end
})

return this
